﻿using System;
using System.Collections.Generic;
using System.Text;
using Kent.Boogaart.HelperTrinity;

namespace WPFCABShell.$safeprojectname$.Services.Command
{
	/// <summary>
	/// Contains state information associated with a command-related event.
	/// </summary>
	public sealed class CommandEventArgs : EventArgs
	{
		private readonly ICommand _command;

		/// <summary>
		/// Gets the command.
		/// </summary>
		public ICommand Command
		{
			get
			{
				return _command;
			}
		}

		public CommandEventArgs(ICommand command)
		{
			ArgumentHelper.AssertNotNull(command, "command");
			_command = command;
		}
	}
}
